/**
 * Copyright (C) 2009 Bruno Dumas (bruno.dumas -at- unifr.ch), DIVA group, University of Fribourg, Switzerland
 * 
 * This program is free software: you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU General Public License along with
 * this program. If not, see <http://www.gnu.org/licenses/>.
 */

//SMUIML v0.4

package diuf.diva.hephaistk.xml.smuiml;

import java.util.Vector;

import diuf.diva.hephaistk.xml.Attribute;

@SuppressWarnings("serial")
public abstract class FusionElement extends Smuiml_Generic {

	//Fusion elements are not supposed  to have "name" attributes;
	//this is done for the sake of compatibility, but should send back 'null' everytime
	private Attribute attName = null;

	public Attribute getAttName(){
		return attName;
	}
	public void setAttName(String attName){
		this.attName = new Attribute("name", attName);
	}

	public abstract Vector<FusionElement> getFusionElements();

	public abstract FusionElement getFusionElement(int index);

	public abstract int fusionElementsSize();

	public abstract void addFusionElement(FusionElement fe);


	public abstract Vector<Trigger> getTriggers();

	public abstract Trigger getTrigger(int index);

	public abstract int triggersSize();

	public abstract void addTrigger(Trigger trigger);
}
